﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Industry_Add.aspx.cs" Inherits="TimKen.Web.Admin.Industry.Industry_Add" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
 <span class="action-span"><a href="Industry_Edit.aspx">
        应用行业管理</span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<script  type="text/javascript">

    function Upload() {
        var sk, sf, sp, ss;
        sk = "/FileUploadMain.aspx?syn=DSC";
        sf = "dialogWidth=420px;dialogHeight=200px;center=yes;help=no;resizable:no;status:no";
        sp = ""; ss = "";
        ss = showModalDialog(sk, sp, sf);
        if (ss != null && ss != "") {
            document.getElementById("<%=this.txtImage.ClientID%>").value = ss;
            document.getElementById("<%=this.btnRefresh.ClientID%>").click();
        }
    }
   
</script>
    <div class="main-div">
        <table width="100%">
    
     <tr>
                <th class="label">
                     上级：
                </th>
                <td>
                    <asp:Label  ID="lblParent"  runat="server"   ></asp:Label>
                </td>
            </tr>
            
            
   
            <tr>
                <th class="label">
                    <%=GetLangString("Name_Cn")%>：
                </th>
                <td>
                    <asp:TextBox ID="txtNameCn"  runat="server" Width="95%" ></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th class="label">
                    <%=GetLangString("Name_En")%>：
                </th>
                <td>
                    <asp:TextBox ID="txtNameEn"   runat="server" Width="95%"  ></asp:TextBox>
                </td>
            </tr>
  
                 
            <tr>
                <th class="label">
                    <%=GetLangString("DescriptionCN")%>：
                </th>
                <td>
                    <asp:TextBox ID="txtDescriptionCN"  runat="server" Width="95%"  Rows="6"   TextMode="MultiLine" ></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th class="label">
                    <%=GetLangString("DescriptionEN")%>：
                </th>
                <td>
                    <asp:TextBox ID="txtDescriptionEN"   runat="server" Width="95%"  Rows="6" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            
             
             <tr>
                <th class="label">
                   图片：
                </th>
                <td>
       <asp:TextBox  ID="txtImage" runat="server" Width="150px" style="display:none" ></asp:TextBox>
            <input type="button"  onclick="Upload()" value="上传"   id="btnUpload" runat="server"/>
        <asp:Button ID="btnDelete" Text="删除" runat="server"  CausesValidation="false" OnClick="btnDelete_Click"/><br />
  <asp:Image Width="200" Height="200" ID="imgLogoImage" runat="server" />
        <asp:Button ID="btnRefresh" Text="" runat="server"  CausesValidation="false" style="display:none"  OnClick="btnRefresh_Click"/>              
                </td>
            </tr> 
            
            
            <tr>
                <th class="label">
                </th>
                <td>
                    <asp:Button ID="btnSave" runat="server" OnClick="btSave_Click" CssClass="button"  Text="保存"/>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
